<?php

use Illuminate\Database\Seeder;
use App\Models\Commodity;

class CommoditiesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Commodity::create([
        	'c_name' => '苹果',
        	'c_number' => '10',
        	'c_integration' => '10',
        	'c_picture' => json_encode(['FvZf6luNz14q52N760q0-XcLdfQV','FvZf6luNz14q52N760q0-XcLdfQV','FvZf6luNz14q52N760q0-XcLdfQV']),
        	'ct_type_id' => 2
        ]);
        Commodity::create([
            'c_name' => '香蕉',
            'c_number' => '10',
            'c_integration' => '10',
            'c_picture' => json_encode(['Fgt5Ufs-F9pxI8L1mqYUMRgAp7Jt','Fgt5Ufs-F9pxI8L1mqYUMRgAp7Jt','Fgt5Ufs-F9pxI8L1mqYUMRgAp7Jt','Fgt5Ufs-F9pxI8L1mqYUMRgAp7Jt']),
            'ct_type_id' => 2
        ]);
        Commodity::create([
            'c_name' => '橙子',
            'c_number' => '10',
            'c_integration' => '10',
            'c_picture' => json_encode(['Fpk9Fn0NZZho1kpHTevQvqIEjm9m','Fpk9Fn0NZZho1kpHTevQvqIEjm9m']),
            'ct_type_id' => 2
        ]);
        Commodity::create([
            'c_name' => '梨子',
            'c_number' => '10',
            'c_integration' => '10',
            'c_picture' => json_encode(['FiSy_LHIphj3_tqPt7c9fIiD3Q68']),
            'ct_type_id' => 2
        ]);
        Commodity::create([
            'c_name' => '火龙果',
            'c_number' => '10',
            'c_integration' => '10',
            'c_picture' => json_encode(['Fo7qavbfdD83biQIvsV17uUM93VF','Fo7qavbfdD83biQIvsV17uUM93VF','Fo7qavbfdD83biQIvsV17uUM93VF']),
            'ct_type_id' => 2
        ]);

        Commodity::create([
        	'c_name' => '冰箱',
        	'c_number' => '10',
        	'c_integration' => '9999999',
        	'c_picture' => json_encode(['FjeMdzzdC9YpjCS-sSfAZGoJro59','FjeMdzzdC9YpjCS-sSfAZGoJro59','FjeMdzzdC9YpjCS-sSfAZGoJro59','FjeMdzzdC9YpjCS-sSfAZGoJro59']),
        	'ct_type_id' => 1
        ]);

        Commodity::create([
        	'c_name' => '耐克衣服',
        	'c_number' => '10',
        	'c_integration' => '5000',
        	'c_picture' => json_encode(['Fjhyhl1-vrgMKD6ffW2vry4h1jCE','Fjhyhl1-vrgMKD6ffW2vry4h1jCE']),
        	'ct_type_id' => 3
        ]);
    }
}
